|
mcurrentsens 2.2.0
|
mCurrent Sens Click example More...
Macros | |
| #define | MIKROBUS_POSITION_MCURRENTSENS MIKROBUS_1 |
| #define | ENABLE_CALIBRATION 0 |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
mCurrent Sens Click example
This example demonstrates the use of mCurrent Sens Click for measuring voltage, current, and temperature on two independent channels.
The demo application is composed of two sections :
Initializes communication, configures the device, optionally performs calibration, and loads calibration data from EEPROM. ADC oversampling ratio is set for faster runtime measurements.
Reads and logs voltage, current, and temperature values continuously.
| #define ENABLE_CALIBRATION 0 |
| #define MIKROBUS_POSITION_MCURRENTSENS MIKROBUS_1 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |